.class Lcom/htc/android/footprints/activity/ListModeNewActivity$5$2;
.super Ljava/lang/Object;
.source "ListModeNewActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/activity/ListModeNewActivity$5;->onFocusChange(Landroid/view/View;Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/htc/android/footprints/activity/ListModeNewActivity$5;

.field final synthetic val$hasFocus:Z

.field final synthetic val$imeManager:Landroid/view/inputmethod/InputMethodManager;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/ListModeNewActivity$5;ZLandroid/view/inputmethod/InputMethodManager;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 287
    iput-object p1, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$5$2;->this$1:Lcom/htc/android/footprints/activity/ListModeNewActivity$5;

    iput-boolean p2, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$5$2;->val$hasFocus:Z

    iput-object p3, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$5$2;->val$imeManager:Landroid/view/inputmethod/InputMethodManager;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    const/4 v3, 0x1

    .line 288
    iget-boolean v0, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$5$2;->val$hasFocus:Z

    if-eqz v0, :cond_0

    .line 289
    iget-object v0, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$5$2;->val$imeManager:Landroid/view/inputmethod/InputMethodManager;

    iget-object v1, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$5$2;->this$1:Lcom/htc/android/footprints/activity/ListModeNewActivity$5;

    iget-object v1, v1, Lcom/htc/android/footprints/activity/ListModeNewActivity$5;->this$0:Lcom/htc/android/footprints/activity/ListModeNewActivity;

    #getter for: Lcom/htc/android/footprints/activity/ListModeNewActivity;->mSearchInput:Landroid/widget/TextView;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/ListModeNewActivity;->access$900(Lcom/htc/android/footprints/activity/ListModeNewActivity;)Landroid/widget/TextView;

    move-result-object v1

    iget-object v2, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$5$2;->this$1:Lcom/htc/android/footprints/activity/ListModeNewActivity$5;

    #getter for: Lcom/htc/android/footprints/activity/ListModeNewActivity$5;->receiver:Landroid/os/ResultReceiver;
    invoke-static {v2}, Lcom/htc/android/footprints/activity/ListModeNewActivity$5;->access$1000(Lcom/htc/android/footprints/activity/ListModeNewActivity$5;)Landroid/os/ResultReceiver;

    move-result-object v2

    invoke-virtual {v0, v1, v3, v2}, Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;ILandroid/os/ResultReceiver;)Z

    .line 298
    :goto_0
    return-void

    .line 292
    :cond_0
    iget-object v0, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$5$2;->val$imeManager:Landroid/view/inputmethod/InputMethodManager;

    iget-object v1, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$5$2;->this$1:Lcom/htc/android/footprints/activity/ListModeNewActivity$5;

    iget-object v1, v1, Lcom/htc/android/footprints/activity/ListModeNewActivity$5;->this$0:Lcom/htc/android/footprints/activity/ListModeNewActivity;

    #getter for: Lcom/htc/android/footprints/activity/ListModeNewActivity;->mSearchInput:Landroid/widget/TextView;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/ListModeNewActivity;->access$900(Lcom/htc/android/footprints/activity/ListModeNewActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/view/inputmethod/InputMethodManager;->focusIn(Landroid/view/View;)V

    .line 293
    iget-object v0, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$5$2;->val$imeManager:Landroid/view/inputmethod/InputMethodManager;

    iget-object v1, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$5$2;->this$1:Lcom/htc/android/footprints/activity/ListModeNewActivity$5;

    iget-object v1, v1, Lcom/htc/android/footprints/activity/ListModeNewActivity$5;->this$0:Lcom/htc/android/footprints/activity/ListModeNewActivity;

    #getter for: Lcom/htc/android/footprints/activity/ListModeNewActivity;->mSearchInput:Landroid/widget/TextView;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/ListModeNewActivity;->access$900(Lcom/htc/android/footprints/activity/ListModeNewActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/TextView;->getWindowToken()Landroid/os/IBinder;

    move-result-object v1

    iget-object v2, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$5$2;->this$1:Lcom/htc/android/footprints/activity/ListModeNewActivity$5;

    #getter for: Lcom/htc/android/footprints/activity/ListModeNewActivity$5;->receiver:Landroid/os/ResultReceiver;
    invoke-static {v2}, Lcom/htc/android/footprints/activity/ListModeNewActivity$5;->access$1000(Lcom/htc/android/footprints/activity/ListModeNewActivity$5;)Landroid/os/ResultReceiver;

    move-result-object v2

    invoke-virtual {v0, v1, v3, v2}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;ILandroid/os/ResultReceiver;)Z

    goto :goto_0
.end method
